//
//  BMSUserSourceModel.h
//  WDBMS
//
//  Created by YeJary on 2025/5/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BMSUserSourceModel : NSObject

@property (nonatomic, copy) NSString *source;            // "ad" 或 "original"
@property (nonatomic, copy) NSString *planId;            // 计划 ID
@property (nonatomic, assign) NSTimeInterval activeTime; // 激活时间戳
@property (nonatomic, copy) NSString *activeDate;        // 激活日期 yyyy-MM-dd
@property (nonatomic, copy) NSString *advertiserId;      // 广告主 ID
@property (nonatomic, copy) NSString *aidId;             // 广告 ID
@property (nonatomic, copy) NSString *campaignId;        // 推广项目 ID

@property (nonatomic, readonly) BOOL isAdUser;

+ (instancetype)modelWithDictionary:(NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END
